/**
 * @(#)AgTeam1.java		
 * 
 * History:
 * 1.0	2 May 2012
 * 		Created
 */
package upm.pb4agent.team1;

import upm.pb4agent.team1.team.Manager;
import jade.wrapper.StaleProxyException;

/**
 * This class is responsible for creating the team agents: Manager.
 * 
 * @author Bob Nicolaus
 * @version 1.0
 * 
 */
public class AgTeam1 extends AgBase1 {

	private static final long serialVersionUID = 5929586493074174591L;

	@Override
	protected void setup() {

		try {

			// To give time to RegistrationDesk and Referee to be registered in
			// the DF
			Thread.sleep(500);

			createNewAgent("Manager1", Manager.class.getCanonicalName(), null);
		} catch (StaleProxyException e) {
			e.printStackTrace();
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
	}
}
